package com.ssmsq.multidatabase.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.time.LocalDateTime;
import java.util.Map;

/**
 * @Description:
 * @Params:
 * @Return:
 * @Author: ssm
 * @Date: 2019/12/20
 */
@Data
@Document(collection = "jyFC_albbSms")
public class AlbbSms {

    @Id
    private String id;

    private String phoneNumber; //手机号

    private String modeType; //模板号

    private String clientId; //ak

    private Map<String, String> requestParams; //入参集合

    private Map<String, Object> responseData; //结果集合

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time; //调用时间

}
